Matthias Clasen [Fri, 8 Jan 2016 16:12:55 +0000 (11:12 -0500)]
Forgotten file
One was forgotten in the dark -> inverse rename.
Matthias Clasen [Fri, 8 Jan 2016 16:08:37 +0000 (11:08 -0500)]
color editor: Set a name on the color sample
This can be used to tweak the style from CSS, via #editor-color-sample.
Lapo Calamandrei [Fri, 8 Jan 2016 15:48:01 +0000 (16:48 +0100)]
Adwaita: remove some now uneeded selectors
...related to image-button sizing which is handled differently now.
Lapo Calamandrei [Fri, 8 Jan 2016 15:31:30 +0000 (16:31 +0100)]
Adwaita: colorchooser and color button style rewrite
fixing https://bugzilla.gnome.org/show_bug.cgi?id=760169 in the
process.
Chun-wei Fan [Fri, 8 Jan 2016 10:44:24 +0000 (18:44 +0800)]
CJK Windows: Silence gtk_style_context_set_state() warnings
We need to update calls to gtk_style_context_set_state() in
gtkimcontextime.c, so that the state passed into that function would be in
line with what GtkStyleContext expects, due to updates in the CSS
machinery, as outlined in this link[1], which is based on information in
in Matthias' blog[2].
Doing so will silence the gtk_style_context_set_state() warnings, which is
emitted when a widget uses gtkimcontext on Windows with CJK IME, which will
in turn call gtkimcontextime.
[1]: http://feaneron.com/2016/01/04/quick-guide-to-port-an-app-for-gtk-3-20/
[2]: https://blogs.gnome.org/mclasen/2015/11/20/a-gtk-update/
https://bugzilla.gnome.org/show_bug.cgi?id=760314
Matthias Clasen [Fri, 8 Jan 2016 13:59:02 +0000 (08:59 -0500)]
Revert "Translate GDK_KEY_KP_Decimal according to locale"
This reverts commit
7c7fde136e1fd1197df1881a3bbd975c4cb1c01a.
Too much controversy for this minor improvement.
See https://bugzilla.gnome.org/show_bug.cgi?id=756751
Matthias Clasen [Fri, 8 Jan 2016 12:39:17 +0000 (07:39 -0500)]
Rename the HighContastInverse css files
Renaming the files from -dark to -inverse makes it more obvious
that this is not a dark variant in the sense of the 'prefer-dark'
setting, but rather a separate theme (sharing the same CSS).
Matthias Clasen [Fri, 8 Jan 2016 04:56:03 +0000 (23:56 -0500)]
Document caret CSS properties
Matthias Clasen [Thu, 7 Jan 2016 03:12:35 +0000 (22:12 -0500)]
Deprecate cursor-color style properties
These have been replaced by CSS properties.
Matthias Clasen [Thu, 7 Jan 2016 03:07:09 +0000 (22:07 -0500)]
Use the caret-color properties for drawing carets
Replace the cursor-color and secondary-cursor-color style
properties with the caret-color and -gtk-secondary-caret-color
CSS properties.
For the 'auto' value of these properties, we keep the same
behavior that we used to have when the style properties are
not explicitly set.
Matthias Clasen [Thu, 7 Jan 2016 03:05:29 +0000 (22:05 -0500)]
Add the caret-color CSS property
This property is defined in http://www.w3.org/TR/css3-ui/#caret-color.
We also add a -gtk-secondary-caret-color property, since GTK+ has
supported differently colored split cursors in the past. Unlike
CSS, we don't support the weakly defined auto keyword, and just
use currentColor as the initial value.
Timm Bäder [Fri, 8 Jan 2016 12:23:56 +0000 (13:23 +0100)]
gtk3-demo: Remove unused GtkCellView
Alberto Ruiz [Mon, 28 Dec 2015 20:14:08 +0000 (20:14 +0000)]
introspection: This patch fixes nullable return values fixes for the following symbols in gtk
gtk_accel_group_query
gtk_accel_group_from_accel_closure
gtk_accel_label_get_accel_widget
gtk_accessible_get_widget
gtk_actionable_get_action_name
gtk_app_chooser_get_app_info
gtk_app_chooser_button_get_heading
gtk_app_chooser_dialog_get_heading
gtk_application_get_window_by_id
gtk_assistant_get_nth_page
gtk_binding_set_find
gtk_builder_get_object
gtk_builder_lookup_callback_symbol
gtk_builder_get_application
gtk_button_get_image
gtk_cell_area_get_focus_from_sibling
gtk_cell_renderer_start_editing
gtk_cell_view_get_model
gtk_cell_view_get_displayed_row
gtk_clipboard_get_owner
gtk_container_get_focus_child
gtk_container_get_focus_vadjustment
gtk_container_get_focus_hadjustment
gtk_dialog_get_widget_for_response
gtk_drag_get_source_widget
gtk_drag_dest_get_target_list
gtk_drag_source_get_target_list
gtk_entry_completion_get_model
gtk_entry_completion_compute_prefix
gtk_expander_get_label_widget
gtk_file_chooser_get_filename
gtk_file_chooser_get_current_folder
gtk_file_chooser_get_uri
gtk_file_chooser_get_current_folder_uri
gtk_file_chooser_get_preview_widget
gtk_file_chooser_get_preview_file
gtk_file_chooser_get_preview_filename
gtk_file_chooser_get_preview_uri
gtk_file_chooser_get_extra_widget
gtk_file_chooser_get_filter
gtk_file_chooser_native_get_accept_label
gtk_file_chooser_native_get_cancel_label
gtk_file_filter_get_name
gtk_font_chooser_get_font_family
gtk_font_chooser_get_font_face
gtk_font_chooser_get_font
gtk_font_chooser_get_font_desc
gtk_font_chooser_get_font_map
gtk_frame_get_label
gtk_gesture_get_device
gtk_gesture_get_window
gtk_gl_area_get_error
gtk_header_bar_get_title
gtk_header_bar_get_subtitle
gtk_header_bar_get_custom_title
gtk_icon_info_get_filename
gtk_icon_view_get_path_at_pos
gtk_icon_view_get_model
gtk_image_get_pixbuf
gtk_image_get_animation
gtk_label_get_mnemonic_widget
gtk_label_get_attributes
gtk_check_version
gtk_menu_button_get_popup
gtk_menu_button_get_menu_model
gtk_menu_button_get_align_widget
gtk_menu_button_get_popover
gtk_menu_item_get_submenu
gtk_menu_item_get_accel_path
gtk_native_dialog_get_title
gtk_native_dialog_get_transient_for
gtk_notebook_get_nth_page
gtk_notebook_get_tab_label_text
gtk_notebook_get_menu_label
gtk_notebook_get_menu_label_text
gtk_notebook_get_group_name
gtk_notebook_get_action_widget
gtk_offscreen_window_get_surface
gtk_offscreen_window_get_pixbuf
gtk_paned_get_child1
gtk_paned_get_child2
gtk_places_sidebar_get_location
gtk_places_sidebar_get_nth_bookmark
gtk_plug_get_socket_window
gtk_popover_get_default_widget
gtk_progress_bar_get_text
gtk_recent_filter_get_name
gtk_recent_manager_lookup_item
gtk_settings_get_default
gtk_socket_get_plug_window
gtk_stack_sidebar_get_stack
gtk_stack_switcher_get_stack
gtk_style_context_get_section
gtk_style_context_get_parent
gtk_style_context_get_frame_clock
gtk_test_find_widget
gtk_text_buffer_get_mark
gtk_text_tag_table_lookup
gtk_text_view_get_tabs
gtk_text_view_toggle_cursor_visible
gtk_text_view_get_window
gtk_toolbar_get_nth_item
gtk_tool_button_get_label
gtk_tool_button_get_icon_name
gtk_tool_button_get_label_widget
gtk_tool_button_get_icon_widget
gtk_tool_palette_get_drop_item
gtk_tool_palette_get_drop_group
gtk_tree_model_filter_convert_child_path_to_path
gtk_tree_model_filter_convert_path_to_child_path
gtk_tree_model_sort_convert_child_path_to_path
gtk_tree_model_sort_convert_path_to_child_path
gtk_tree_view_get_column
gtk_tree_view_get_bin_window
gtk_tree_view_column_get_widget
gtk_tree_view_column_get_tree_view
gtk_widget_get_frame_clock
gtk_window_group_get_current_device_grab
GtkTextBufferSerializeFunc
Olivier Fourdan [Tue, 8 Dec 2015 15:33:45 +0000 (16:33 +0100)]
wayland: Update parent of dialogs without transient
X11 has the notions of "transient for group", and while it's an ICCCM
violation, it's commonly used and documented that a window manager
would treat a window with transient_for set to None to transient for all
windows of its group.
gtk uses this when an application sets a dialog type window but does not
specify an explicit transient.
While this works on X11, there is no such thing as groups in Wayland and
the closest equivalent which is set_parent() in xdg-shell takes only one
parent. This is what is used for modal dialogs.
To get something similar in behavior to what is available on X11, a
solution is to update the parent() of the dialogs without transient when
the active surface changes.
Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=759161
Olivier Fourdan [Mon, 21 Dec 2015 13:35:53 +0000 (14:35 +0100)]
wayland: prefer subsurface when possible
Quite a few applications use GTK_WINDOW_POPUP to create various
temporary windows and place then on screen. That works fine on X11 but
on Wayland there is no global coordinate system for regular surfaces.
If the application is using a gdk temp window and set a parent with
gtk_window_transient_for(), the gdk wayland backend has all it needs to
create a subsurface that can be placed at will by the application.
Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=759738
Timm Bäder [Fri, 8 Jan 2016 08:38:32 +0000 (09:38 +0100)]
revealer: Propagate draw event
Timm Bäder [Tue, 5 Jan 2016 18:05:43 +0000 (19:05 +0100)]
GtkPopover: Protect against transparent backgrounds
If the background is transparent, we can't use it for the input shape,
since that will be empty. Draw a box with rounded corners irectly
instead, in fully opaque black.
https://bugzilla.gnome.org/show_bug.cgi?id=759905
Ben Gamari [Tue, 5 Jan 2016 23:36:21 +0000 (00:36 +0100)]
gdkwindow-x11: Ensure that extended update counter is freed
I believe this lead to rampant leakage of SyncCounters by
gnome-terminal.
https://bugzilla.gnome.org/show_bug.cgi?id=760188
Matthias Clasen [Fri, 8 Jan 2016 00:49:17 +0000 (19:49 -0500)]
inspector: Sort themes in the various theme combos
It is nicer if the themes show up in a predictable order,
so sort them alphabetically.
Matthias Clasen [Fri, 8 Jan 2016 00:50:15 +0000 (19:50 -0500)]
inspector: Add HighContrastInverse to list of themes
Matthias Clasen [Fri, 8 Jan 2016 00:47:58 +0000 (19:47 -0500)]
Rename HighContrast-dark to HighContrastInverse
For accessibility purposes, it is better to have this as a
separate theme than as a dark variant of the HighContrast theme.
Lapo Calamandrei [Fri, 8 Jan 2016 00:38:42 +0000 (01:38 +0100)]
Adwaita: rounded corners on iconview selection
Lapo Calamandrei [Fri, 8 Jan 2016 00:37:20 +0000 (01:37 +0100)]
Adwaita: fix calendar invisible selection
Matthias Clasen [Fri, 8 Jan 2016 00:20:55 +0000 (19:20 -0500)]
colorswatch: Fix the overlay
I misunderstood what the overlay is good for: We need to allocate
it the full size of the widget. since we are using it to render
a background gradient *over* the application-rendered color.
At the same time, save some 100 lines of code by using an icon
helper as gadget, instead of handling the icon manually.
Matthias Clasen [Thu, 7 Jan 2016 23:38:31 +0000 (18:38 -0500)]
color swatch: Fix up rendering
gtk_render_content_path is expecting the full box dimensions,
not just the content area. So, add the border before calling it.
Note it is still possible to have some separation between the
color and the border, by setting padding.
Daiki Ueno [Wed, 6 Jan 2016 09:09:04 +0000 (18:09 +0900)]
gtkbuilder: Install gettext ITS files
Recent gettext has a feature to allow consumer projects to supply their
own string extraction rules for XML files, in ITS format.
Gettext still ships the rule for *.ui, but it would be better
maintained in the upstream project.
https://bugzilla.gnome.org/show_bug.cgi?id=760202
Daniel Mustieles [Thu, 7 Jan 2016 22:15:11 +0000 (23:15 +0100)]
Updated Spanish translation
Daniel Mustieles [Thu, 7 Jan 2016 22:14:58 +0000 (23:14 +0100)]
Updated Spanish translation
Matthias Clasen [Thu, 7 Jan 2016 21:30:19 +0000 (16:30 -0500)]
Implement transitions for radial gradients
This was missing in the initial implementation.
Matthias Clasen [Thu, 7 Jan 2016 21:10:10 +0000 (16:10 -0500)]
Don't interpolate between keywords
Transitioning between linear gradients like
linear-gradient(to top, yellow, green) and
linear-gradient(to left, yellow, green) was yielding
nonsensical results, with the gradient line jumping around
wildly. Fix this by falling back to stupid image interpolation
for these cases.
Kjartan Maraas [Thu, 7 Jan 2016 20:54:51 +0000 (21:54 +0100)]
Updated Norwegian bokmål translation.
Timm Bäder [Thu, 7 Jan 2016 19:33:25 +0000 (20:33 +0100)]
GtkCssGadget: Set valid clip values for invisible gadgets
Matthias Clasen [Thu, 7 Jan 2016 18:24:32 +0000 (13:24 -0500)]
color swatch: Remove a stray frame
When using a gadget, the border is free, no need to call
gtk_render_frame ourselves.
Timm Bäder [Thu, 7 Jan 2016 17:27:11 +0000 (18:27 +0100)]
GtkModelButton: Remove some margins
Now that we can use margins from css for this, remove the margins we set
in code and use css instead.
Timm Bäder [Thu, 7 Jan 2016 17:25:22 +0000 (18:25 +0100)]
GtkModelButton: Remove always-zero variable
Eric Williams [Wed, 6 Jan 2016 20:27:53 +0000 (15:27 -0500)]
Clarified the function docs for gtk_css_provider_load_from_data().
https://bugzilla.gnome.org/show_bug.cgi?id=760238
Matthias Clasen [Wed, 6 Jan 2016 19:56:06 +0000 (14:56 -0500)]
wayland: Only do cursor name fallback for standard names
Always returning a left_ptr if we can't find anything better
broke firefox application-specific fallback for missing cursors.
Keep that working by only doing the fallback for the CSS cursor
names, not for things like hashes.
https://bugzilla.gnome.org/show_bug.cgi?id=760141
Matthias Clasen [Wed, 6 Jan 2016 19:54:33 +0000 (14:54 -0500)]
x11: Only do cursor name fallback for standard names
Always returning a left_ptr if we can't find anything better
broke firefox application-specific fallback for missing cursors.
Keep that working by only doing the fallback for the CSS cursor
names, not for things like hashes.
https://bugzilla.gnome.org/show_bug.cgi?id=760141
Matthias Clasen [Wed, 6 Jan 2016 19:53:45 +0000 (14:53 -0500)]
Add context-menu to the list of standard cursor names
Adwaita doesn't have this one, but we are falling to the
default cursor anyway.
Matthias Clasen [Wed, 6 Jan 2016 04:24:51 +0000 (23:24 -0500)]
Add a test for ltr vs rtl boxes.
This tests that horizontal boxes flip their child nodes
according to text direction to maintain the left-to-right
ordering of child nodes for both text directions.
Matthias Clasen [Wed, 6 Jan 2016 04:22:28 +0000 (23:22 -0500)]
CSS node tests: Add a way to test rtl vs ltr
CSS nodes have a linear sibling relationship; this is supposed
to correspond to left-to-right placement in horizontal arrangements.
This commit explicitly sets the text direction to rtl if the
filename ends in .rtl.ui, so we can test differences in node
tree layout between text directions.
Timm Bäder [Wed, 6 Jan 2016 09:58:08 +0000 (10:58 +0100)]
GtkListBox: Optimize _get_row_at_y a bit
Use g_sequence_lookup for a binary search over the rows.
Timm Bäder [Wed, 6 Jan 2016 09:46:29 +0000 (10:46 +0100)]
GtkListBox: get_row_at_y can return NULL
Rico Tzschichholz [Wed, 6 Jan 2016 14:17:52 +0000 (15:17 +0100)]
HighContrast: Fix make dist
Felipe Borges [Wed, 6 Jan 2016 13:47:48 +0000 (14:47 +0100)]
printing: always propagate Collate value
https://bugzilla.gnome.org/show_bug.cgi?id=728344
Chun-wei Fan [Wed, 6 Jan 2016 13:12:19 +0000 (21:12 +0800)]
Visual Studio builds: Use _USE_MATH_DEFINES
... to fix the build as some C99 math constant macros are being used, such
as M_SQRT2.
Wonchul Lee [Tue, 5 Jan 2016 07:48:48 +0000 (16:48 +0900)]
docs: cleanup duplication of words
https://bugzilla.gnome.org/show_bug.cgi?id=760148
Matthias Clasen [Wed, 6 Jan 2016 03:33:20 +0000 (22:33 -0500)]
HighContrast: Improve search bar appearance
Follow the generally white background we use everywhere else.
This is not perfect, we get double borders when the search bar
is shown, as can be seen in gtk3-widget-factory.
Matthias Clasen [Wed, 6 Jan 2016 03:22:47 +0000 (22:22 -0500)]
HighContrast: Fix up action bar styling
Since HighContrast is not using different background colors
as much as Adwaita, we need to add borders to prevent things
from running into each other.
Matthias Clasen [Wed, 6 Jan 2016 01:39:16 +0000 (20:39 -0500)]
HighContrast: Drop deprecated style properties
Matthias Clasen [Wed, 6 Jan 2016 00:25:06 +0000 (19:25 -0500)]
HighContrast: Add a dark variant
This is just a quick experiment, and so I have another theme with
a dark variant to play with.
Matthias Clasen [Tue, 5 Jan 2016 21:54:40 +0000 (16:54 -0500)]
HighContrast: Add a missing unit
Matthias Clasen [Tue, 5 Jan 2016 21:53:03 +0000 (16:53 -0500)]
HighContrast: Fix sidebar borders
Matthias Clasen [Tue, 5 Jan 2016 19:37:22 +0000 (14:37 -0500)]
HighContrast: Fix checkboxes in selected context
Set a proper color so checks and radios don't disappear on the
black selection background.
Matthias Clasen [Tue, 5 Jan 2016 19:19:58 +0000 (14:19 -0500)]
HighConstast: Some fixes for treeview headers
Matthias Clasen [Tue, 5 Jan 2016 15:55:34 +0000 (10:55 -0500)]
HighContrast: Keep spinbuttons from resizing on hover
Matthias Clasen [Tue, 5 Jan 2016 12:48:54 +0000 (07:48 -0500)]
HighContrast: Fix checks and radios
Matthias Clasen [Tue, 5 Jan 2016 12:40:39 +0000 (07:40 -0500)]
HighContrast: Some menu fixes
Matthias Clasen [Tue, 5 Jan 2016 12:17:16 +0000 (07:17 -0500)]
HighContrast: paned fixes
Mostly copied from Adwaita.
Cosimo Cecchi [Tue, 5 Jan 2016 18:01:33 +0000 (10:01 -0800)]
HighContrast: more combobox fixes
Taken from Adwaita.
Paolo Borelli [Tue, 5 Jan 2016 17:40:25 +0000 (18:40 +0100)]
docs: try to clarify widget_get_state_flags vs context_get_state
Matthias Clasen [Tue, 5 Jan 2016 04:52:28 +0000 (23:52 -0500)]
HighContrast: Some combobox fixes
Mostly copied from Adwaita.
Matthias Clasen [Tue, 5 Jan 2016 04:45:13 +0000 (23:45 -0500)]
HighContrast: Fix frame styling
Matthias Clasen [Tue, 5 Jan 2016 04:28:32 +0000 (23:28 -0500)]
HighContrast: fix up color chooser theming
Mostly copied from Adwaita.
Matthias Clasen [Tue, 5 Jan 2016 03:08:53 +0000 (22:08 -0500)]
HighContrast: Fix up stackswitcher
Copy Some of the more recent additions from Adwaita.
Matthias Clasen [Tue, 5 Jan 2016 02:35:55 +0000 (21:35 -0500)]
HighContrast: No blue spinners
Spinners are drawing backgrounds now, so setting a blue
background color is pretty distracting.
Matthias Clasen [Tue, 5 Jan 2016 02:22:11 +0000 (21:22 -0500)]
Make sure icons update on theme change
Gadgets don't connect to style-changed for widget nodes, and
GtkImage uses its widget node for the icon helper. The visible
effect of this is that symbolic icons don't change color when
switching to the dark variant of Adwaita.
Fix this by manually invalidating the icon helper.
Matthias Clasen [Mon, 4 Jan 2016 21:58:10 +0000 (16:58 -0500)]
widget-factory: Make the notebook action truly circular
The sidebar-button class doesn't work out so well for this
since it has horizontal padding.
Cosimo Cecchi [Tue, 5 Jan 2016 02:14:33 +0000 (18:14 -0800)]
levelbar: loop over all block gadgets to determine min size
Instead of just picking the first. This is because the theme might set a
border on only one of them, like the HighContrast theme does.
Cosimo Cecchi [Tue, 5 Jan 2016 01:55:26 +0000 (17:55 -0800)]
levelbar: fix parameter confusion
We're always interested in the minimum size.
Cosimo Cecchi [Tue, 5 Jan 2016 01:50:24 +0000 (17:50 -0800)]
HighContrast: update to use -gtk-outline-radius
Cosimo Cecchi [Tue, 5 Jan 2016 01:49:41 +0000 (17:49 -0800)]
HighContrast: update to use :hover
Cosimo Cecchi [Tue, 5 Jan 2016 01:48:59 +0000 (17:48 -0800)]
HighContrast: update to use :indeterminate
Cosimo Cecchi [Tue, 5 Jan 2016 01:46:43 +0000 (17:46 -0800)]
HighContrast: update to use :disabled
Matthias Clasen [Mon, 4 Jan 2016 20:34:50 +0000 (15:34 -0500)]
tests: Rework the way foreigndrawing works
Instead of the weird PathElt struct, generate a quick-n-dirty parser
that parses CSS selectors into GtkWidgetPath elements.
Based on a patch by Benjamin Otte.
Matthias Clasen [Mon, 4 Jan 2016 18:54:20 +0000 (13:54 -0500)]
Document radial gradient syntax
Matthias Clasen [Mon, 4 Jan 2016 02:49:13 +0000 (21:49 -0500)]
Add a CSS style test for gradients
This mainly just tests that gradients are properly
reproduced by gtk_style_context_to_string.
Matthias Clasen [Sun, 27 Dec 2015 07:04:20 +0000 (02:04 -0500)]
Add some tests for radial gradient parsing
These are the examples from the CSS spec.
Matthias Clasen [Sun, 27 Dec 2015 07:03:35 +0000 (02:03 -0500)]
Implement CSS radial gradients
Implement parsing and drawing of radial gradients according to
http://www.w3.org/TR/css3-images/#radial-gradients.
Transitions are not implemented yet.
Christoph Reiter [Sat, 31 Oct 2015 12:38:24 +0000 (13:38 +0100)]
Mention GtkIconSize in all docs where the argument/return is annotated as taking an int instead of GtkIconSize
In https://bugzilla.gnome.org/show_bug.cgi?id=601425 the annotations
were changed to int as they not only take the predefined enum values
but also user defined values registered through gtk_icon_size_register()
As a result the typelib doesn't contain any information about
GtkIconSize for those arguments and the Python docstring only
shows the corresponding Python type "int".
This changes the argument docs to mention the type explicitly
so the Python doc generator can add a link to Gtk.IconSize
which contains the most useful predefined values.
https://bugzilla.gnome.org/show_bug.cgi?id=757411
Marek Černocký [Mon, 4 Jan 2016 10:52:10 +0000 (11:52 +0100)]
Updated Czech translation
Marek Černocký [Mon, 4 Jan 2016 10:51:20 +0000 (11:51 +0100)]
Updated Czech translation
Rico Tzschichholz [Mon, 4 Jan 2016 09:16:45 +0000 (10:16 +0100)]
docs/gtk: Include css.xml
Rico Tzschichholz [Mon, 4 Jan 2016 08:53:24 +0000 (09:53 +0100)]
docs/gtk: Sort content_files/expand_content_files alphabetically
Piotr Drąg [Mon, 4 Jan 2016 07:27:02 +0000 (08:27 +0100)]
Updated POTFILES.skip
Chun-wei Fan [Mon, 4 Jan 2016 07:09:14 +0000 (15:09 +0800)]
config.h.win32.in: Update for _lock_file()
The Visual Studio versions that we support supports locking functions in
their CRT, so support that to optimize things a bit. Also update the
config.h.win32.in so that its entries are more in line with the ones in
the autootols builds, and make sure that we use UNIX line endings.
Cosimo Cecchi [Mon, 4 Jan 2016 01:20:06 +0000 (17:20 -0800)]
cssstyle: fix a compiler warning
Matthias Clasen [Sun, 3 Jan 2016 22:23:59 +0000 (17:23 -0500)]
Update expected output
The previous commit changed the format of the output
generated by the CSS style tests.
Matthias Clasen [Sun, 3 Jan 2016 22:05:16 +0000 (17:05 -0500)]
Improve formatting of CSS style prints
Add a newline after CSS properties, so things don't run into
each other.
Matthias Clasen [Sun, 3 Jan 2016 21:14:43 +0000 (16:14 -0500)]
Skip GdkX11DeviceManagerCore in default value tests
We already skip the XI2 implementation, and the core
one needs the same treatment.
Matthias Clasen [Sun, 3 Jan 2016 20:41:09 +0000 (15:41 -0500)]
Update expected output for CSS style tests
The format for CSS values changed slightly in one of the
previous commits.
Matthias Clasen [Sun, 3 Jan 2016 20:37:40 +0000 (15:37 -0500)]
Use a custom theme for CSS style tests
Use a custom, empty theme and stop importing reset-to-defaults.css.
This avoids overwriting initial values, so our initial value
filtering works better.
Matthias Clasen [Sun, 3 Jan 2016 20:34:08 +0000 (15:34 -0500)]
Redo CSS style printing
Drop the custom style printing implementation in gtkcssnode.c and
instead reuse the existing gtk_css_style_print function, extending
it a bit to suit our needs.
Instead of computing values, just recognize initial values by
having no CSS section. Also do away with the show-initial flag, and
just always filter out initial values. The flag can come back when
it is needed.
Matthias Clasen [Sun, 3 Jan 2016 19:04:52 +0000 (14:04 -0500)]
Update expected output for node and style tests
The previous commit changed the format of the output.
Matthias Clasen [Sun, 3 Jan 2016 19:02:00 +0000 (14:02 -0500)]
Move node printing to GtkCssNodeDeclaration
The node declaration has all the information we are printing
here (except for visibility). At the same time, redo the format
to print the information in selector format, and indicate
(in)visibility by enclosing the selector in square brackets.
Cosimo Cecchi [Sun, 3 Jan 2016 19:33:19 +0000 (11:33 -0800)]
tests: fix Makefile.am syntax
It requires a tab character, or the build will fail.
Cosimo Cecchi [Sun, 3 Jan 2016 19:25:45 +0000 (11:25 -0800)]
cssnode: fix a compiler warning
Matthias Clasen [Sun, 3 Jan 2016 17:05:57 +0000 (12:05 -0500)]
Fix the build
Matthias Clasen [Sun, 3 Jan 2016 16:59:15 +0000 (11:59 -0500)]
Forgotten file
I forgot to add this file to source control when the new tests
were initially added.
Felix Riemann [Sun, 3 Jan 2016 14:32:38 +0000 (15:32 +0100)]
shortcuts: Separate gestures in search results
Gestures where shown separately from other shortcuts in the search
results before. This restores that behaviour.
https://bugzilla.gnome.org/show_bug.cgi?id=760097